import { defineStore } from "pinia"
 
const useSidebarStatusInfoStore = defineStore('sidebarStatusInfo', {
  // defineStore('sidebarStatusInfo',{})  sidebarStatusInfo就是这个仓库的名称name
  state: () => ({
    isCollapse: false
  }),
  actions: {
    toggleCollapse() {
      this.isCollapse = !this.isCollapse
    }
  }
})
 
export default useSidebarStatusInfoStore